﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RBACProject.Domian
{
    /// <summary>
    /// 用户角色关系 
    /// </summary>
    [Table("UserRoleModel")]
    public class UserRoleModel : Audti
    {
        /// <summary>
        /// 用户角色关系Id
        /// </summary>
        [Key]
        public int URId { get; set; }
        
        /// <summary>
        /// 用户Id
        /// </summary>
        public int UserId { get; set; }    

        /// <summary>
        /// 角色Id
        /// </summary>
        public int RoleId { get; set; }    

    }
}
